package cn.com.connext.scrm.client;

import cn.com.connext.scrm.domain.master.Member;
import cn.com.connext.scrm.service.dto.ScoreLogDTO;
import cn.com.connext.scrm.service.dto.ScoreLogVM;
import cn.com.connext.scrm.service.dto.WhiskyDTO;
import cn.com.connext.scrm.web.rest.vm.NoteIdVM;
import cn.com.connext.scrm.web.rest.vm.UnionIdVM;
import cn.com.connext.scrm.web.rest.vm.WantDrinkVM;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @program: organization-service
 * @author: shawn
 * @create: 2019-05-29 18:53
 **/
@Component
public class MemberClientFallBack implements MemberClient {
    @Override
    public ResponseEntity saveScore(List<ScoreLogVM> productRate) {
        LOG.info("saveScore入参:{}", productRate);
        return null;
    }

    @Override
    public List<ScoreLogDTO> findAllScoreByNoteId(String noteId) {
        LOG.info("findAllScoreByNoteId入参:{}", noteId);
        return null;
    }

    @Override
    public WhiskyDTO findById(String goodId) {
        LOG.info("findGoodsById入参:{}", goodId);
        return null;
    }

    @Override
    public List<String> findAllOpenId() {
        LOG.info("findAllOpenId:{}");
        return null;
    }

    @Override
    public List<String> findNoteIdByGoodsId(String goodId) {
        LOG.info("findNoteIdByGoodsId:{}", goodId);
        return null;
    }

    @Override
    public void drink(WantDrinkVM vm) {
        LOG.info("findNoteIdByGoodsId:{}", vm);

    }

    @Override
    public Member findMemberByUserId(UnionIdVM userId) {
        LOG.info("findMemberByUserId:{}", userId);
        return null;
    }

    @Override
    public void deleteScoreByNoteId(NoteIdVM vm) {
        LOG.info("findMemberByUserId:{}", vm.getNoteId());
    }
}
